package com.developmentReformProject.dao;

import com.developmentReformProject.dto.AdminQueryDto;
import com.developmentReformProject.dto.LogQueryDto;
import com.developmentReformProject.entity.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 日志dao
 */
@Mapper
public interface LogDao {

    /**
     * 动态统计
     * @param
     * @return
     */
    int countSelective(LogQueryDto logQueryDto);

    /**
     * 动态查询
     * @param
     * @return
     * @throws Exception
     */
    public List<Admin> selectSelective(LogQueryDto logQueryDto) throws Exception;
}
